package com.lanlion.portlet.http;

import org.apache.http.cookie.Cookie;

import java.util.ArrayList;
import java.util.List;

/**
 * Author: my_cup@yeah.net
 * Title: HttpClient请求结果
 * Remark: result返回结果字符串，statusCode 请求返回状态码
 * Time:2017/1/22
 */
public class HttpResult {

    //请求结果字符串
    private String result;

    //请求状态码
    private int statusCode;

    //Cookie列表
    private List<Cookie> cookies = new ArrayList<Cookie>();


    public List<Cookie> getCookies() {
        return cookies;
    }

    public void setCookies(List<Cookie> cookies) {
        this.cookies = cookies;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }


}
